projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
670dfdb
)
Revert c00b85bf3f9cb1dc77dd22f138eb53048eb355b7
author
Matthias Clasen
<mclasen@redhat.com>
Mon, 29 Nov 2010 18:00:04 +0000
(13:00 -0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Mon, 29 Nov 2010 18:00:04 +0000
(13:00 -0500)
This needs more work, currently we do dupe targets when copying
target entries in various places, and consequently free them
later. To do this correctly, the strings need to be interned
or something like that.
gtk/gtkselection.h
patch
|
blob
|
history
diff --git
a/gtk/gtkselection.h
b/gtk/gtkselection.h
index 4fa30a37d961a4a5df03562496213d892017a20d..eddab0f4ad6344e12447303dec13214ca5a22283 100644
(file)
--- a/
gtk/gtkselection.h
+++ b/
gtk/gtkselection.h
@@
-68,9
+68,9
@@
struct _GtkSelectionData
struct _GtkTargetEntry
{
-
const
gchar *target;
- guint
flags;
- guint
info;
+ gchar *target;
+ guint flags;
+ guint info;
};
/* These structures not public, and are here only for the convenience of